// 引入工具类
import request from '@/utils/request.js'


// 我的积分记录 
export function userPointsList (data) {
  return request({
    url: '/system/userPoints/list',
    method: 'post',
    data: data
  })
}

// 积分排名 
export function pointsRanking (data, params) {
  return request({
    url: '/system/userPoints/pointsRanking',
    method: 'post',
    data: data,
    params: params
  })
}